import FilterGroup from '../components/filter-group/index.vue';
import CustomTable from '../components/custom-table/index.vue';
import {
  mapState,
  mapActions,
} from 'vuex';

export default {
  name: 'App',
  computed: {
    ...mapState('table', ['list']),
  },
  methods: {
    ...mapActions('table', ['updateTableData']),
  },
  async mounted () {
    await this.updateTableData();
  },
  components: {
    FilterGroup,
    CustomTable,
  },
}
